home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / FREENET / MELL / NETLIB00 / NetLib / s / getsockopt < prev    next >
Text File  |  1996-02-08  |  257b  |  18 lines

  1.         GET    hdr.Regs
  2.         GET    hdr.SocketSWIs
  3.  
  4.         AREA    |C$$code|,CODE,READONLY
  5.  
  6.         IMPORT    |__errno|
  7.  
  8.         EXPORT    getsockopt
  9. getsockopt
  10.         STMFD    sp!,{r4,lr}
  11.         LDR    r4,[sp,#8]
  12.         CallSWI    XSocket_Getsockopt
  13.         LDMVCFD    sp!,{r4,pc}^
  14.         StoreErrno r1, r2
  15.         LDMFD    sp!,{r4,pc}^
  16.  
  17.         END
  18.